package com.example.demo.client.evt.sysbasequery;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * Description:
 *
 * @Author zmf
 * @Date 2018/9/5  11:23
 */
@ApiModel("用户ID参数")
public class UserIdEvt implements Serializable{
    private static final long serialVersionUID = 4575577606059363311L;
    @ApiModelProperty("用户ID")
    @NotNull
    private Long userId;
    @ApiModelProperty(value = "当前登录用户名",notes = "后台取")
    private String loginName;

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }


    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "UserIdEvt{" +
            "userId=" + userId +
            '}';
    }
}
